package ken.app.even;

import com.she.olympic.TreeActivity;

import android.app.Activity;

public class UpdPushTokenEvent extends Event{
	
	final String apiUrl = TreeActivity.SEVER_API +"/olympic/upd_push_token";
	private Activity mActivity = null;
	private String regId = "";
	private boolean pushIn = false;
	
	public UpdPushTokenEvent(Activity activity , String regid ){
		super();
		mActivity = activity;
		this.regId = regid;
	}
	
	public UpdPushTokenEvent(Activity activity , String regid , Boolean pushin){
		super();
		mActivity = activity;
		this.regId = regid;
		this.pushIn = pushin;
	}
	
	public boolean isPushIn(){
		return pushIn;
	}
		
	public String getPath(){
		return apiUrl;
	}
	
	public String getRegid(){
		return this.regId;
	}
	
	public Activity getActivity(){
		return mActivity;
	}
}
